﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Presentation.Web.Client.Areas.SalesManagement.Models;
using Presentation.Web.Client.Models;

namespace Presentation.Web.Client.Areas.SalesManagement.Controllers
{
    public class SalesController : Controller
    {
        // Navigation items for sales control panel
        private SalesViewModel _salesViewModel;

        //
        // GET: /SalesManagement/Sales/

        public ActionResult Index()
        {
            if (_salesViewModel == null)
            {
                _salesViewModel = new SalesViewModel();
            }

            ViewBag.SalesActions = _salesViewModel.SalesActionLinks;

            return View();
        }

    }
}
